﻿<Window x:Class="NascarEventsWPF.Page1_Users"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Page1_Users" Height="700" Width="700" Background="CornflowerBlue">
    <Grid x:Name="RacingWindow" Loaded="Window" >
        <ComboBox x:Name="CB_User" HorizontalAlignment="Left" Margin="88,82,0,0" VerticalAlignment="Top" Width="92" DisplayMemberPath="FirstName" SelectedValuePath="UserID" SelectionChanged="CB_User_SelectionChanged"/>
        <TextBox x:Name="Tb_userID" HorizontalAlignment="Left" Height="23" Margin="359,52,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="80" RenderTransformOrigin="-0.431,0.578"/>
        <TextBox x:Name="Tb_FName" HorizontalAlignment="Left" Height="23" Margin="359,95,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="80"/>
        <TextBox x:Name="Tb_LName" HorizontalAlignment="Left" Height="23" Margin="359,141,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="80"/>
        <TextBox x:Name="Tb_EmpID" HorizontalAlignment="Left" Height="23" Margin="359,183,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="80"/>
        <TextBox x:Name="Tb_UserName" HorizontalAlignment="Left" Height="23" Margin="359,227,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="80"/>
        <TextBox x:Name="Tb_Password" HorizontalAlignment="Left" Height="23" Margin="359,268,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="80"/>
        <Label Content="User ID:" HorizontalAlignment="Left" Margin="262,52,0,0" VerticalAlignment="Top" Width="70" FontWeight="Bold"/>
        <Label Content="First Name:" HorizontalAlignment="Left" Margin="259,95,0,0" VerticalAlignment="Top" FontWeight="Bold"/>
        <Label Content="Last Name:" HorizontalAlignment="Left" Margin="262,141,0,0" VerticalAlignment="Top" RenderTransformOrigin="-0.16,0.649" Width="67" FontWeight="Bold"/>
        <Label Content="Employee ID:" HorizontalAlignment="Left" Margin="259,183,0,0" VerticalAlignment="Top" Width="79" FontWeight="Bold"/>
        <Label Content="User Name:" HorizontalAlignment="Left" Margin="262,227,0,0" VerticalAlignment="Top" Width="70" FontWeight="Bold"/>
        <Label Content="Password:" HorizontalAlignment="Left" Margin="262,265,0,0" VerticalAlignment="Top" Width="67" FontWeight="Bold"/>
        <Button x:Name="Btn_Update" Content="Update User" HorizontalAlignment="Left" Margin="88,183,0,0" VerticalAlignment="Top" Width="92" Height="25" Click="Btn_Update_Click"/>
        <Button x:Name="Btn_Add" Content="Add User" HorizontalAlignment="Left" Margin="88,141,0,0" VerticalAlignment="Top" Width="92" Height="23" Click="Btn_Add_Click"/>
        <Button x:Name="Btn_Delete" Content="Delete User" HorizontalAlignment="Left" Margin="88,227,0,0" VerticalAlignment="Top" Width="92" Height="23" Click="Btn_Delete_Click"/>
        <GroupBox Header="Maintain User" HorizontalAlignment="Left" Margin="26,14,0,0" VerticalAlignment="Top" Height="326" Width="644" FontWeight="Bold" FontSize="16" RenderTransformOrigin="0.494,0.896"/>
        <Button x:Name="Btn_Exit" Content="Exit" HorizontalAlignment="Left" Margin="503,189,0,0" VerticalAlignment="Top" Width="95" Height="24" Click="Btn_Exit_Click"/>
        <Button x:Name="Btn_Clear" Content="Clear Record" HorizontalAlignment="Left" Margin="503,138,0,0" VerticalAlignment="Top" Width="95" Height="26" Click="Btn_Clear_Click"/>
        <Label Content="Select User" HorizontalAlignment="Left" Margin="86,53,0,0" VerticalAlignment="Top" RenderTransformOrigin="0.435,0.446" Width="90" FontWeight="Bold"/>

    </Grid>
</Window>
